import 'package:flutter/material.dart';
import 'package:get/get.dart';

import '../index.dart';

/// hello
class HelloWidget extends GetView<BrowserController> {
  const HelloWidget({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Center(
      child: Hero(
        tag: '0',
        child: TextButton(
            onPressed: () => controller.actionBrowser(0), child: Text('预览')),
      ),
    );
  }
}
